<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Map和Set</title>

    <script>

        'use strict';
        let m = new Map([['Michael', 95], ['Bob', 75], ['Tracy', 85]]);
        console.log(m.get('Michael')); // 95

        let s1 = new Set(); // 空Set
        let s2 = new Set([1, 2, 3]); // 含1, 2, 3

        let s = new Set([1, 2, 3, 3, '3']);
        console.log(s); // Set {1, 2, 3, "3"}

    </script>

</head>
<body>



</body>
</html>